import javax.microedition.midlet.*;

public class WinterSports extends javax.microedition.midlet.MIDlet
{
    static Main main = null;

    public WinterSports(){}

    public void startApp() 
    {
        main = new Main(this);

    }

    public void pauseApp() {}

    public void destroyApp(boolean unconditional) 
    {
    	exit();
    }

    public void exit()
    {
    	if (main != null) main.stop();
    	notifyDestroyed();
    }

}

